Hi. I have a question. I understand how the next(obj) works. But I need to do something more complex. For example: the next obj have to be the one that is under certain conditions. My original next(obj) function is like this:
void Next(DB calledFrom) {
// Do wrap around search or return if found nowhere to go
if (!null(next(reqmtObj))) {
reqmtObj = next(reqmtObj)
} elseif (!null (first reqmtModule)) {
reqmtObj = first reqmtModule
} else {
return
}
current = reqmtObj
calls_Another_Function()
}
But I need that the next object is under certain conditions. For example:
if ((isMember(reqmtObj."Number", "1")) && (reqmtObj."Status"" "" == "older") &&(reqmtObj."StatusA" "" == "new")){
now show me the next(reqmtObj)
}
Can someone help me? Bruwbruw - Tue Jan 20 13:01:04 EST 2015 |
Re: Next(obj) Did you think about a filter? next(obj) will respect the display set, therefore setting a filter, going next should also work. Of course you can also do something like { while (!null object && ! <complex condition> ) object = next object Regards, Mathias |